package tech.aistar.day05.this_demo;

/**
 * 本类用来演示:
 *
 * @author: success
 * @date: 2021/3/12 2:45 下午
 */
public class TestHeroDemo {
    public static void main(String[] args) {
        Hero hero = new Hero(1,"猴子","刺客");
        //hero.setName("猴子");
        System.out.println(hero);

    }

    public void test(){
        int id = 10;
      //  static int n = 10;//error
    }
}
